# -*- coding: utf-8 -*-
"""
Created on 2021-09-14 13:01:33
---------
@summary:
---------
@author: xubin
"""
import feapder
from items import CloudClone_item
from items import Uscnk_item
from feapder.utils.tools import get_current_date, get_md5
from my_tool import my_tool as tool
from feapder.db.mongodb import MongoDB
from my_tool.snowflake_id import IdWorker

worker = IdWorker(1, 2, 0)

mongo_conn = MongoDB()


def get_data(node_obj):
    return [_.get() for _ in node_obj]


def insert_mongo(table, data):
    res = mongo_conn.add(table, data)
    print(res)


class CloudClone(feapder.AirSpider):
    def start_callback(self):

        print("爬虫开始")

    def end_callback(self):
        print("爬虫结束")

    def validate(self, request, response):
        if response.status_code != 200:
            raise Exception("response code not 200")  # 重试

    def start_requests(self):
        url_info = {'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=121&specie=': 12,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=124&specie=': 1,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=125&specie=': 1,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=101&specie=': 12,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=104&specie=': 12,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=102&specie=': 2,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=103&specie=': 1,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=122&specie=': 4,
                    'http://www.cloud-clone.com.cn/Search/search.html?keywords=&type=123&specie=': 2}
        for url, page_num in url_info.items():
            for page in range(1, page_num + 1):
                full_url = url + f'&p={page}'
                yield feapder.Request(full_url)

    def parse(self, request, response):

        product_list_node = response.xpath('//div[@class="product-lists"]')
        type = response.xpath('//ul[@class="breadcrumb"]/li/text()')[-1].get()
        data_dict = {}
        for node in product_list_node:

            data = get_data(node.xpath('.//a/@href | .//h3/text() | .//span/text()'))
            for index in range(0, len(data), 4):
                item = CloudClone_item.CloudcloneItem()
                item.type = type
                detail_url = data[index]
                name = data[index + 1]
                item.id = worker.get_id()
                accession = data[index + 2]
                species = data[index + 3]
                item.name = name
                item.accession = accession
                item.species = species
                item.detail_url = detail_url
                item.detail_source_code_id = get_md5(detail_url)
                item.create_by = 'xubin@%'
                item.update_by = 'xubin@%'
                item.create_on = get_current_date()
                item.update_on = get_current_date()
                item.source_code_id = get_md5(response.url)
                item.batch_id = 4535404663877406721
                yield item
                data_dict['_id'] = get_md5(response.url)
                data_dict['url'] = response.url
                data_dict['createBy'] = 'xubin'
                data_dict['updateTime'] = get_current_date()
                data_dict['html'] = tool.compress_content(response.text)
                yield insert_mongo(table='cloud_clone', data=data_dict)
                yield feapder.Request(detail_url, callback=self.second_parse)

    def second_parse(self, request, response):
        data_dict = {}

        data_dict['_id'] = get_md5(response.url)
        data_dict['url'] = response.url
        data_dict['createBy'] = 'xubin'
        data_dict['updateTime'] = get_current_date()
        data_dict['html'] = tool.compress_content(response.text)
        yield insert_mongo(table='cloud_clone', data=data_dict)


class CloudCloneUSCnk(feapder.AirSpider):
    def start_callback(self):

        print("爬虫开始")

    def end_callback(self):
        print("爬虫结束")

    def validate(self, request, response):
        if response.status_code != 200:
            raise Exception("response code not 200")  # 重试
        if '请检查您输入的关键字是否拼写错误' in response.text:
            # 抛弃当前请求
            return False

    def start_requests(self):
        url_info = {'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Hu': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Mu': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Ra': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Gu': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Rb': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Si': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Cp': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Ov': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Eq': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Bo': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Po': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Ga': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Ca': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Al': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Mi': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=22&specie=Ge': '重组蛋白/RP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Hu': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Mu': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Ra': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Gu': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Rb': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Si': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Cp': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Ov': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Eq': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Bo': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Po': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Ga': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Ca': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Al': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Mi': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=26&specie=Ge': '活性蛋白/AP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Hu': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Mu': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Ra': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Gu': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Rb': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Si': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Cp': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Ov': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Eq': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Bo': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Po': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Ga': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Ca': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Al': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Mi': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=28&specie=Ge': '修饰蛋白/MP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Hu': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Mu': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Ra': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Gu': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Rb': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Si': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Cp': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Ov': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Eq': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Bo': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Po': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Ga': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Ca': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Al': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Mi': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=37&specie=Ge': '内参抗体/CA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Hu': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Mu': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Ra': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Gu': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Rb': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Si': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Cp': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Ov': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Eq': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Bo': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Po': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Ga': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Ca': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Al': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Mi': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=123&specie=Ge': '血清/SS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Hu': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Mu': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Ra': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Gu': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Rb': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Si': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Cp': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Ov': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Eq': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Bo': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Po': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Ga': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Ca': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Al': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Mi': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=144&specie=Ge': '基因嵌入/IG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Hu': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Mu': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Ra': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Gu': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Rb': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Si': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Cp': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Ov': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Eq': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Bo': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Po': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Ga': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Ca': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Al': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Mi': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=143&specie=Ge': '基因敲除/OG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Hu': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Mu': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Ra': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Gu': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Rb': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Si': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Cp': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Ov': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Eq': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Bo': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Po': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Ga': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Ca': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Al': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Mi': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=142&specie=Ge': 'cDNA/CG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Hu': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Mu': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Ra': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Gu': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Rb': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Si': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Cp': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Ov': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Eq': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Bo': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Po': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Ga': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Ca': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Al': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Mi': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=141&specie=Ge': '引物/PG',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Hu': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Mu': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Ra': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Gu': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Rb': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Si': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Cp': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Ov': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Eq': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Bo': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Po': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Ga': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Ca': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Al': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Mi': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=14&specie=Ge': '基因克隆:',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Hu': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Mu': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Ra': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Gu': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Rb': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Si': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Cp': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Ov': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Eq': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Bo': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Po': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Ga': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Ca': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Al': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Mi': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=IS&specie=Ge': '增值服务/IS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Hu': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Mu': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Ra': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Gu': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Rb': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Si': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Cp': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Ov': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Eq': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Bo': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Po': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Ga': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Ca': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Al': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Mi': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=RS&specie=Ge': 'IVD原料/RS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Hu': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Mu': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Ra': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Gu': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Rb': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Si': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Cp': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Ov': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Eq': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Bo': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Po': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Ga': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Ca': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Al': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Mi': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=132&specie=Ge': '检测试剂盒DIY材料/KS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Hu': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Mu': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Ra': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Gu': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Rb': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Si': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Cp': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Ov': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Eq': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Bo': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Po': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Ga': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Ca': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Al': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Mi': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=122&specie=Ge': '组织/TS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Hu': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Mu': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Ra': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Gu': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Rb': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Si': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Cp': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Ov': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Eq': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Bo': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Po': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Ga': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Ca': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Al': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Mi': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=131&specie=Ge': '抗体对/PS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Hu': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Mu': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Ra': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Gu': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Rb': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Si': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Cp': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Ov': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Eq': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Bo': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Po': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Ga': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Ca': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Al': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Mi': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=121&specie=Ge': '疾病模型/DS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Hu': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Mu': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Ra': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Gu': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Rb': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Si': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Cp': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Ov': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Eq': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Bo': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Po': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Ga': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Ca': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Al': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Mi': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=103&specie=Ge': '培养基/MS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Hu': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Mu': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Ra': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Gu': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Rb': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Si': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Cp': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Ov': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Eq': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Bo': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Po': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Ga': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Ca': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Al': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Mi': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=102&specie=Ge': '提取物/ES',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Hu': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Mu': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Ra': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Gu': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Rb': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Si': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Cp': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Ov': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Eq': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Bo': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Po': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Ga': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Ca': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Al': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Mi': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=101&specie=Ge': '细胞/CS',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Hu': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Mu': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Ra': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Gu': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Rb': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Si': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Cp': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Ov': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Eq': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Bo': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Po': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Ga': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Ca': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Al': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Mi': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=48&specie=Ge': '竞争法CLIA/CC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Hu': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Mu': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Ra': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Gu': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Rb': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Si': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Cp': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Ov': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Eq': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Bo': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Po': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Ga': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Ca': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Al': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Mi': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=47&specie=Ge': '夹心法CLIA/SC',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Hu': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Mu': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Ra': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Gu': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Rb': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Si': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Cp': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Ov': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Eq': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Bo': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Po': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Ga': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Ca': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Al': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Mi': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=46&specie=Ge': '小样本ELISA/ME',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Hu': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Mu': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Ra': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Gu': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Rb': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Si': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Cp': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Ov': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Eq': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Bo': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Po': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Ga': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Ca': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Al': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Mi': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=45&specie=Ge': '快捷型ELISA/IE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Hu': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Mu': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Ra': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Gu': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Rb': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Si': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Cp': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Ov': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Eq': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Bo': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Po': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Ga': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Ca': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Al': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Mi': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=44&specie=Ge': '测抗体ELISA/AE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Hu': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Mu': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Ra': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Gu': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Rb': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Si': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Cp': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Ov': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Eq': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Bo': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Po': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Ga': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Ca': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Al': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Mi': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=49&specie=Ge': '宽范围ELISA/WE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Hu': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Mu': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Ra': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Gu': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Rb': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Si': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Cp': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Ov': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Eq': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Bo': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Po': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Ga': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Ca': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Al': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Mi': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=43&specie=Ge': '高敏型ELISA/HE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Hu': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Mu': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Ra': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Gu': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Rb': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Si': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Cp': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Ov': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Eq': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Bo': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Po': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Ga': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Ca': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Al': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Mi': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=42&specie=Ge': '竞争法ELISA/CE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Hu': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Mu': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Ra': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Gu': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Rb': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Si': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Cp': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Ov': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Eq': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Bo': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Po': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Ga': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Ca': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Al': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Mi': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=41&specie=Ge': '夹心法ELISA/SE',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Hu': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Mu': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Ra': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Gu': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Rb': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Si': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Cp': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Ov': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Eq': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Bo': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Po': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Ga': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Ca': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Al': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Mi': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=36&specie=Ge': '标签抗体/TA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Hu': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Mu': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Ra': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Gu': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Rb': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Si': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Cp': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Ov': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Eq': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Bo': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Po': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Ga': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Ca': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Al': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Mi': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=38&specie=Ge': '抗修饰蛋白抗体/AA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Hu': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Mu': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Ra': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Gu': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Rb': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Si': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Cp': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Ov': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Eq': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Bo': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Po': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Ga': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Ca': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Al': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Mi': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=39&specie=Ge': '流式抗体/FA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Hu': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Mu': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Ra': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Gu': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Rb': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Si': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Cp': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Ov': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Eq': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Bo': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Po': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Ga': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Ca': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Al': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Mi': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=35&specie=Ge': '第二抗体/SA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Hu': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Mu': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Ra': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Gu': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Rb': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Si': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Cp': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Ov': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Eq': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Bo': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Po': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Ga': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Ca': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Al': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Mi': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=34&specie=Ge': '标记抗体/LA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Hu': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Mu': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Ra': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Gu': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Rb': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Si': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Cp': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Ov': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Eq': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Bo': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Po': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Ga': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Ca': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Al': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Mi': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=310&specie=Ge': '重组抗体/RA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Hu': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Mu': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Ra': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Gu': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Rb': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Si': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Cp': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Ov': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Eq': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Bo': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Po': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Ga': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Ca': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Al': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Mi': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=32&specie=Ge': '单克隆抗体/MA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Hu': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Mu': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Ra': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Gu': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Rb': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Si': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Cp': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Ov': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Eq': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Bo': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Po': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Ga': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Ca': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Al': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Mi': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=27&specie=Ge': '偶联小分子/CP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Hu': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Mu': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Ra': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Gu': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Rb': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Si': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Cp': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Ov': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Eq': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Bo': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Po': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Ga': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Ca': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Al': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Mi': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=31&specie=Ge': '多克隆抗体/PA',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Hu': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Mu': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Ra': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Gu': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Rb': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Si': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Cp': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Ov': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Eq': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Bo': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Po': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Ga': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Ca': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Al': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Mi': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=23&specie=Ge': '合成多肽/SP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Hu': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Mu': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Ra': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Gu': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Rb': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Si': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Cp': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Ov': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Eq': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Bo': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Po': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Ga': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Ca': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Al': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Mi': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=25&specie=Ge': '真核蛋白/EP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Hu': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Mu': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Ra': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Gu': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Rb': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Si': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Cp': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Ov': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Eq': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Bo': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Po': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Ga': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Ca': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Al': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Mi': '天然蛋白/NP',
                    'http://www.uscnk.cn/Search/search.htm?keywords=&type=21&specie=Ge': '天然蛋白/NP'}

        for url, name_ in url_info.items():
            yield feapder.Request(url, name_=name_)

    def parse(self, request, response):
        name_ = request.name_
        page_node = response.xpath('//div[@class="page"]/span/text()').get()
        page_num = int(page_node.split('/')[-1])
        for page in range(1, page_num + 1):
            full_url = response.url + f'&c=0&p={page}'
            yield feapder.Request(full_url, callback=self.second_parse, name_=name_)

    def second_parse(self, request, response):
        name_ = request.name_
        results_node = response.xpath('//div[@class="search_results"]')
        data_dict = {}
        for node in results_node:
            res = node.xpath(
                './div[@class="search_result"]/h3/a/@href '
                '| ./div[@class="search_result"]/h3/a/text() '
                '| ./div[@class="search_result"]/h4/text()')
            data = get_data(res)
            for index in range(0, len(data), 4):
                item = Uscnk_item.UscnkItem()
                item.type = name_
                detail_url = data[index]
                name = data[index + 1]
                item.id = worker.get_id()
                accession = data[index + 2].strip('编号: ')
                species = data[index + 3].strip('物种: ')

                item.name = name
                item.accession = accession
                item.species = species
                item.detail_url = detail_url
                item.detail_source_code_id = get_md5(detail_url)
                item.create_by = 'xubin@%'
                item.update_by = 'xubin@%'
                item.create_on = get_current_date()
                item.update_on = get_current_date()
                item.source_code_id = get_md5(response.url)
                item.batch_id = 4535404663877406721
                yield item
                data_dict['_id'] = get_md5(response.url)
                data_dict['url'] = response.url
                data_dict['createBy'] = 'xubin'
                data_dict['updateTime'] = get_current_date()
                data_dict['html'] = tool.compress_content(response.text)
                yield insert_mongo(table='cloud_clone_uscnk', data=data_dict)
                yield feapder.Request(detail_url, callback=self.detail_page_save_to_mongo)

    def detail_page_save_to_mongo(self, request, response):
        data_dict = {}

        data_dict['_id'] = get_md5(response.url)
        data_dict['url'] = response.url
        data_dict['createBy'] = 'xubin'
        data_dict['updateTime'] = get_current_date()
        data_dict['html'] = tool.compress_content(response.text)
        yield insert_mongo(table='cloud_clone_uscnk', data=data_dict)


class CloudCloneUSCnkEquipments(feapder.AirSpider):
    def start_callback(self):

        print("爬虫开始")

    def end_callback(self):
        print("爬虫结束")

    def validate(self, request, response):
        if response.status_code != 200:
            raise Exception("response code not 200")  # 重试
        if '请检查您输入的关键字是否拼写错误' in response.text:
            # 抛弃当前请求
            return False

    def start_requests(self):
        url_info = {
            'http://www.uscnk.net/AnalysisEquipments.html': '标准分析仪器',
            # 'http://www.uscnk.net/Equipments/Ethology-instrument.html': '行为学仪器',
            # 'http://www.uscnk.net/Equipments/Animal-imaging-equipment.html': '影像学仪器',
            # 'http://www.uscnk.net/Equipments/Animal-testing-instrument.html': '检验学仪器',
            # 'http://www.uscnk.net/Equipments/-Animal-therapy-equipment.html': '其它类仪器'
        }

        for url, name_ in url_info.items():
            yield feapder.Request(url, name_=name_)

    def parse(self, request, response):
        name_ = request.name_
        # page_node = response.xpath('//div[@class="render"]/span/text()').get()
        # page_num = int(page_node.split('/')[-1])
        # for page in range(1, page_num + 1):
        #     full_url = response.url.replace('.html', '') + f'/{page}'
        #     yield feapder.Request(full_url, callback=self.second_parse, name_=name_)
        div_nodes = response.xpath('//div[@class="standard_equipments"]')
        for node in div_nodes:
            res = node.xpath('.//div[@class="standard_equipment_right"]/a/@href '
                             '| .//div[@class="standard_equipment_right"]/a/h3/text()'
                             '| .//div[@class="standard_equipment_right"]/i/text()')
            data = get_data(res)
            data_dict = {}
            for index in range(0, len(data), 3):
                item = Uscnk_item.UscnkItem()
                item.type = '标准分析仪器'
                # item.subtype = name_
                detail_url = data[index]

                name = data[index + 1]
                item.id = worker.get_id()
                item.accession = worker.get_id()

                name_en = data[index + 2]

                item.name = name
                item.name_en = name_en
                item.detail_url = detail_url
                item.detail_source_code_id = get_md5(detail_url)
                item.create_by = 'xubin@%'
                item.update_by = 'xubin@%'
                item.create_on = get_current_date()
                item.update_on = get_current_date()
                item.source_code_id = get_md5(response.url)
                item.batch_id = 4535404663877406721
                yield item
                data_dict['_id'] = get_md5(response.url)
                data_dict['url'] = response.url
                data_dict['createBy'] = 'xubin'
                data_dict['updateTime'] = get_current_date()
                data_dict['html'] = tool.compress_content(response.text)
                yield insert_mongo(table='cloud_clone_uscnk', data=data_dict)
                yield feapder.Request(detail_url, callback=self.detail_page_save_to_mongo)

    def second_parse(self, request, response):
        name_ = request.name_
        results_node = response.xpath('//div[@class="equipment_category"]')
        data_dict = {}
        for node in results_node:
            res = node.xpath(
                './/div[@class="equipment_div"]/a/@href '
                '| .//div[@class="equipment_div"]/a/text() '
                '| .//div[@class="equipment_div"]/span/text()')
            data = get_data(res)
            for index in range(0, len(data), 3):
                item = Uscnk_item.UscnkItem()
                item.type = '非标仪器'
                item.subtype = name_
                detail_url = data[index]

                name = data[index + 1]
                item.id = worker.get_id()
                item.accession = worker.get_id()

                name_en = data[index + 2]

                item.name = name
                item.name_en = name_en
                item.detail_url = detail_url
                item.detail_source_code_id = get_md5(detail_url)
                item.create_by = 'xubin@%'
                item.update_by = 'xubin@%'
                item.create_on = get_current_date()
                item.update_on = get_current_date()
                item.source_code_id = get_md5(response.url)
                item.batch_id = 4535404663877406721
                yield item
                data_dict['_id'] = get_md5(response.url)
                data_dict['url'] = response.url
                data_dict['createBy'] = 'xubin'
                data_dict['updateTime'] = get_current_date()
                data_dict['html'] = tool.compress_content(response.text)
                yield insert_mongo(table='cloud_clone_uscnk', data=data_dict)
                yield feapder.Request(detail_url, callback=self.detail_page_save_to_mongo)

    def detail_page_save_to_mongo(self, request, response):
        data_dict = {}

        data_dict['_id'] = get_md5(response.url)
        data_dict['url'] = response.url
        data_dict['createBy'] = 'xubin'
        data_dict['updateTime'] = get_current_date()
        data_dict['html'] = tool.compress_content(response.text)
        yield insert_mongo(table='cloud_clone_uscnk', data=data_dict)


if __name__ == "__main__":
    # CloudClone().start()
    CloudCloneUSCnkEquipments(thread_count=1).start()
    # CloudCloneUSCnk(thread_count=4).start()
